#include"SelectServer.hpp"

int main(int argc,char*argv[])
{
    if(argc !=2)
    {
        LOG(DEBUG, "need port!!!\n");
        exit(0);
    }
    uint16_t port = std::stoi(argv[1]);
    std::unique_ptr<SelectServer> server = std::make_unique<SelectServer>(port);
    
    server->Init();
    server->Loop();
}